package net.sf.rose.util;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

/** 
 * @author fengjian
 * @since 2013-4-19 
 */
public class SimpleTimestampFormat extends SimpleDateFormat {

	/**  */
	private static final long serialVersionUID = 1L;

	/* (non-Javadoc)
	 * @see java.text.DateFormat#parse(java.lang.String)
	 */
	@Override
	public Date parse(String source) throws ParseException {
		return new java.sql.Timestamp(super.parse(source).getTime());
	}
	
}
